#!/usr/bin/python3.4
# -*- coding=utf-8 -*-

import os
import gnupg


import gnupg
gpg = gnupg.GPG(gnupghome='/home/autouser/gpghome')
f = open('ise-CFG10-160212-2301_bak.tar.gpg', 'rb')
status = gpg.decrypt_file(f, passphrase='Cisc0123', output='ise-CFG10-160212-2301.tar')

print ('ok: ', status.ok)
print ('status: ', status.status)
print ('stderr: ', status.stderr)
f.close